ArcFM Responder Mobile Developer Guide
CountGroups Method






Dataset containing the table to be counted.
RowGrouper object containing the group definitions.
Counts rows belonging to groups as defined by where clauses in the RowGrouper object. For XSLT convenience, populates the Groups field with a '|' delimited string listing all the groups each row belongs to.
Syntax
'Declaration
 
Protected Overridable Sub CountGroups( _
   ByVal dataset As System.Data.DataSet, _
   ByVal groups As RowGrouper(Of GroupType), _
   ByVal groupFieldIndex As System.Integer _
) 
'Usage
 
Dim instance As GroupCounterTransformation(Of GroupType)
Dim dataset As System.Data.DataSet
Dim groups As RowGrouper(Of GroupType)
Dim groupFieldIndex As System.Integer
 
instance.CountGroups(dataset, groups, groupFieldIndex)
protected virtual void CountGroups( 
   System.Data.DataSet dataset,
   RowGrouper<GroupType> groups,
   System.int groupFieldIndex
)
protected procedure CountGroups( 
    dataset: System.Data.DataSet;
    groups: RowGrouper;
    groupFieldIndex: System.Integer
); virtual; 
protected function CountGroups( 
   dataset : System.Data.DataSet,
   groups : RowGrouper,
   groupFieldIndex : System.int
);
protected: virtual void CountGroups( 
   System.Data.DataSet* dataset,
   RowGrouper<GroupType*>* groups,
   System.int groupFieldIndex
) 
protected:
virtual void CountGroups( 
   System.Data.DataSet^ dataset,
   RowGrouper<GroupType^>^ groups,
   System.int groupFieldIndex
) 

Parameters

dataset
Dataset containing the table to be counted.
groups
RowGrouper object containing the group definitions.
groupFieldIndex
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GroupCounterTransformation<GroupType> Class
GroupCounterTransformation<GroupType> Members

Send Feedback